package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.demo.mapper.SysMenuMapper;
import java.util.List;
import com.example.demo.domain.SysMenuExample;
import com.example.demo.domain.SysMenu;
@Service
public class SysMenuService{

    @Resource
    private SysMenuMapper sysMenuMapper;

    
    public long countByExample(SysMenuExample example) {
        return sysMenuMapper.countByExample(example);
    }

    
    public int deleteByExample(SysMenuExample example) {
        return sysMenuMapper.deleteByExample(example);
    }

    
    public int deleteByPrimaryKey(Long menuId) {
        return sysMenuMapper.deleteByPrimaryKey(menuId);
    }

    
    public int insert(SysMenu record) {
        return sysMenuMapper.insert(record);
    }

    
    public int insertSelective(SysMenu record) {
        return sysMenuMapper.insertSelective(record);
    }

    
    public List<SysMenu> selectByExample(SysMenuExample example) {
        return sysMenuMapper.selectByExample(example);
    }

    
    public SysMenu selectByPrimaryKey(Long menuId) {
        return sysMenuMapper.selectByPrimaryKey(menuId);
    }

    
    public int updateByExampleSelective(SysMenu record,SysMenuExample example) {
        return sysMenuMapper.updateByExampleSelective(record,example);
    }

    
    public int updateByExample(SysMenu record,SysMenuExample example) {
        return sysMenuMapper.updateByExample(record,example);
    }

    
    public int updateByPrimaryKeySelective(SysMenu record) {
        return sysMenuMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(SysMenu record) {
        return sysMenuMapper.updateByPrimaryKey(record);
    }

}
